package com.ibox;

import com.alibaba.android.arouter.launcher.ARouter;
import com.ibox.utils.AppUtils;

/**
 * Created by Amos on 2017/9/25.
 */

public class CoreApplication extends BaseApplication {
    @Override
    public void onCreate() {
        super.onCreate();
        if (AppUtils.isAppDebug()) {
            //开启InstantRun之后，一定要在ARouter.init之前调用openDebug
            ARouter.openDebug();
            ARouter.openLog();
        }
        ARouter.init(this);
    }
}
